When commit
33d3a6564 added support for the --force-animations flag,
it explicitly excluded remote sessions.
There has been some interest in enabling the flag for remote sessions
as well recently, and as nobody seems to remember why they were
excluded, do just that.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9099
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4118>
}
_shouldEnableAnimations() {
- if (this._handles.size > 0)
- return false;
-
if (global.force_animations)
return true;
+ if (this._handles.size > 0)
+ return false;
+
const backend = global.backend;
if (!backend.is_rendering_hardware_accelerated())
return false;